package connect2congress.client.properties;

import com.google.gwt.core.client.JavaScriptObject;

/**
 * Created by IntelliJ IDEA.
 * User: peter
 * Date: Mar 14, 2010
 * Time: 3:03:52 PM
 * To change this template use File | Settings | File Templates.
 */
public class C2CDate extends JavaScriptObject{

    protected C2CDate(){}

    public static final float WIDTH = 2;
    public static final float HEIGHT = 6;

    public final native String getM() /*-{ return this.m; }-*/;
    public final native String getD() /*-{ return this.d; }-*/;

    public final double getScore() {
        return 0;  //To change body of implemented methods use File | Settings | File Templates.
    }

    public final long getMagnitude() {
        return Long.parseLong(getM());  //To change body of implemented methods use File | Settings | File Templates.
    }

    public final String getName() {
        return null;  //To change body of implemented methods use File | Settings | File Templates.
    }

    public final String getParty() {
        return null;  //To change body of implemented methods use File | Settings | File Templates.
    }

    public final int getID() {
        return 0;  //To change body of implemented methods use File | Settings | File Templates.
    }

    public final long getDate() {
        return Long.parseLong(getD());
    }
    
}
